package com.zld.smarket.dao;

import com.zld.smarket.dto.LossList;
import com.zld.smarket.pojo.Goodsloss;
import java.util.List;

public interface GoodslossMapper {
    int deleteByPrimaryKey(Long lossId);

    int insert(Goodsloss record);

    Goodsloss selectByPrimaryKey(Long lossId);

    List<Goodsloss> selectAll();

    int updateByPrimaryKey(Goodsloss record);

    List<LossList> selectAllAndPage(Integer page, Integer limit);

    Long countLossbyno(Long i);

    List<LossList> search(String s, Integer page, Integer limit);

    Long countAll();

    Long countloss();
}